bash

您所在的位置:网站首页 ubuntu user bash

bash

#bash| 来源: 网络整理| 查看: 265

The ls command tries to print the user name and group name when doing the long listing. However, the user and group are stored as the UID and GID in the file's metadata. If the UID cannot be looked up or the GID cannot be looked up, the ls -l command will just print out the UID and/or GID. That is what you are seeing. The file, "shared.md" is owned by UID 1000 and GID 1000, but there is no user on the system that has UID 1000, and no group on the system that has GID 1000. That is why ls -l prints out 1000 for the user and group.

For the file, "locknoblank.sh" the owner is greedy, but the group is GID 1000, for the same reason as above.



【本文地址】


今日新闻


推荐新闻


CopyRight 2018-2019 办公设备维修网 版权所有 豫ICP备15022753号-3